import isEmpty from 'lodash/isEmpty';

export default {
    namespaced: true,
    state: {
        getCarCommon: {},//queryChoice
        brandseriesmodel: {},
        warehouseList: {},
        insuranceCompanyList: {},
        activitiEnable: {},
        filterCondition: {},
		screenData:{},
		latitude:'',
		longitude:''
    },
    mutations: {
        getCarCommon(state, getCarCommon) {
            state.getCarCommon = getCarCommon;
        },
        brandseriesmodel(state, brandseriesmodel) {
            state.brandseriesmodel = brandseriesmodel;
        },
        warehouseList(state, warehouseList) {
            state.warehouseList = warehouseList;
        },
        insuranceCompanyList(state, insuranceCompanyList) {
            state.insuranceCompanyList = insuranceCompanyList;
        },
        activitiEnable(state, activitiEnable) {
            state.activitiEnable = activitiEnable;
        },
        filterCondition(state, filterCondition) {
            state.filterCondition = filterCondition;
        },
        screenData(state, screenData) {
            state.screenData = screenData;
        },
		setLat(state, latitude){
			state.latitude = latitude;
		},
		setLon(state, longitude){
			state.longitude = longitude;
		}
    },
}